//
//  HeaderFileForEasyToTesco.h
//  EasyToTesco
//
//  Created by mc on 16/1/29.
//  Copyright © 2016年 Jack. All rights reserved.
//

#ifndef HeaderFileForEasyToTesco_h
#define HeaderFileForEasyToTesco_h


#define WEITH [UIScreen mainScreen].bounds.size.width
#define HIGHT [UIScreen mainScreen].bounds.size.height

#define WEITHRATE [UIScreen mainScreen].bounds.size.width/320
#define HIGHTRATE [UIScreen mainScreen].bounds.size.height/568


#define SC_YES_string  @"YES"
#define SC_NO_string   @"NO"

//用于购物车页面发送通知
#define SCProductBuyCountDidChangeNotification          @"SCProductBuyCountDidChange"

//话费油卡页面未登录跳转登录界面通知
//#define MainLoginPostNotificationName          @"MainLoginPostNotificationName"

//购物车地址回调通知
#define ShopCarGetAddressNotification  @"ShopCarGetAddressNotification"

//确认订单 -> 订单支付价格
#define ShopGetAllpriceNotification  @"ShopCarGetAllpriceNotification"


/** NSLog 输出宏*/
#ifdef DEBUG
#define NSLog(FORMAT, ...) fprintf(stderr,"%s:%d\t%s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
#else
#define NSLog(...)
#endif

#endif /* HeaderFileForEasyToTesco_h */
